package com.jy.modules.cims.common.open.api.dto;

import java.io.Serializable;

import org.hibernate.validator.constraints.NotBlank;

public class EntryParameter implements Serializable {
	private static final long serialVersionUID = -12011564984684131L;

	@NotBlank(message = "商户号:appId不能为空")
	private String appId;// 商户号

	@NotBlank(message = "方法名:method不能为空")
	private String method;// 方法名

	@NotBlank(message = "协议版本:version不能为空")
	private String version;// 协议版本

	@NotBlank(message = "md5标签:sign不能为空")
	private String sign;// md5标签

	@NotBlank(message = "请求主体:content不能为空")
	private String content;// 请求主体

	@NotBlank(message = "时间戳:timestamp不能为空")
	private String timestamp;// 时间戳

	public String getAppId() {
		return this.appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getMethod() {
		return this.method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getVersion() {
		return this.version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getSign() {
		return this.sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTimestamp() {
		return this.timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}

	public String toString() {
		return "{appId=" + this.appId + ", method=" + this.method + ", version=" + this.version + ", sign=" + this.sign + ", timestamp="
				+ this.timestamp + ", content=" + this.content + "}";
	}
}
